package com.itbour.dao.trade;

import java.util.List;
import java.util.Map;

import com.itbour.dto.trade.ExpTrackInfoDto;
import com.itbour.dto.trade.ExpressComInfoDto;
import com.itbour.dto.trade.OrderInfoDto;
import com.itbour.dto.trade.OrderDetailInfoDto;
import com.itbour.dto.trade.PartnerInfoDto;




/**
 * 订单dao
 * 
 * copyright   itbour team 2017
 * @author     xc
 */

public interface OrdersDao {

	public int selectOrdersCnt(Map<String,Object> param);
	public List<OrderInfoDto> selectOrdersInfo(Map<String,Object> param);
	public void deleteOrderInfoLogic(Map<String,Object> param);
	public void insertOrderInfo(Map<String,Object> param);
	public void updateOrderInfoById(Map<String,Object> param);
	
	public int selectDetailsCnt(Map<String,Object> param);
	public List<OrderDetailInfoDto> selectDetailsInfo(Map<String,Object> param);
	public void deleteDetailInfoLogic(Map<String,Object> param);
	public void insertDetailInfo(Map<String,Object> param);
	public void updateDetailInfoById(Map<String,Object> param);
	
	public List<PartnerInfoDto> selectPartnerInfo(Map<String,Object> param);
	
	public void insertStateHisInfo(Map<String,Object> param);
	
	public void insertNotifyUserlInfo(Map<String,Object> param);
	
	//获取快递分类
	public List<ExpressComInfoDto> getExpComInfo(Map<String, Object> parm);
	public int getLogisticsCnt(Map<String, Object> parm);//获取物流信息个数
	public List<ExpTrackInfoDto> getLogicsticsInfo(Map<String, Object> parm);
	public void updExpInfoData(Map<String, Object> parm);//更新物流data
	public void insertExpTrackInfo(Map<String, Object> parm);//插入本地物流
}
